home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVRLF
/
IMEDSK2.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
28KB
|
1,187 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int baseDialogId2 ;
extern int baseDialogId ;
extern int base2MesId[6] ;
extern int baseDialogId3 ;
extern int base3BtnId[3] ;
extern int selectFuncBase() ;
extern int base3MesId[3] ;
extern int baseMovDialogId ;
extern int baseMovBtnId[4] ;
extern int selectFuncMovDir() ;
extern int baseMovMesId[7] ;
extern int selectFuncMovOut() ;
extern int selectFuncMovTif() ;
extern int baseMovInputDialogId[2] ;
extern int baseMovInputMesId[2] ;
extern int selectFuncMovPly() ;
extern int base2BtnId[3] ;
extern int selectFuncOk() ;
extern int baseDialogId4 ;
extern int base4BtnId[3] ;
extern int selectFuncUnder() ;
extern int base4MesId[3] ;
extern int baseColorDialogId ;
extern int baseColorNumId[3] ;
extern int baseColorNumSet() ;
extern int baseColorMesId[1] ;
extern int baseColorInputDialogId ;
extern int baseDialogId5 ;
extern int effTIconId[12] ;
extern int effTIconFunc() ;
extern int base5MesId[12] ;
extern int selectFuncAdj() ;
extern int selectFuncPly() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIMEDSK2 = { "MmiInit", 71, 0 } ;
/* baseDialogId2 */
static MMIPACKET d001 = { &baseDialogId2,
&baseDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
0, 20, 639, 479,15, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* base2MesId[0] */
static MMIPACKET d002 = { &base2MesId[0],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
28, 28, 117, 47, 0,15, 8,
MS_NONEL40,
"èε û{ É▌ ÆΦ",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* baseDialogId3 */
static MMIPACKET d003 = { &baseDialogId3,
&baseDialogId2,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d003d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
28, 48, 308, 294,15, 6, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* base3BtnId[0] */
static MMIPACKET d004 = { &base3BtnId[0],
&baseDialogId3,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 62, 119, 85, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncBase,
0x0000
} ;
/* base3MesId[0] */
static MMIPACKET d005 = { &base3MesId[0],
&baseDialogId3,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
49, 64, 107, 83, 0,15,14,
MS_NONEL40,
"éséhéeée",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* base3BtnId[1] */
static MMIPACKET d006 = { &base3BtnId[1],
&baseDialogId3,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
127, 62, 209, 85, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncBase,
0x0000
} ;
/* base3MesId[1] */
static MMIPACKET d007 = { &base3MesId[1],
&baseDialogId3,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d007d = { MS_CENTERL40 | MS_DSPONLYL40,
139, 64, 197, 83, 0,15, 8,
MS_NONEL40,
"éuéOéO",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* base3BtnId[2] */
static MMIPACKET d008 = { &base3BtnId[2],
&baseDialogId3,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d008d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
217, 62, 299, 85, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncBase,
0x0000
} ;
/* base3MesId[2] */
static MMIPACKET d009 = { &base3MesId[2],
&baseDialogId3,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d009d = { MS_CENTERL40 | MS_DSPONLYL40,
229, 64, 287, 83, 0,15, 8,
MS_NONEL40,
"éléuéa",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseMovDialogId */
static MMIPACKET d010 = { &baseMovDialogId,
&baseDialogId3,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d010d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
30, 96, 306, 288,15, 6, 8,
MS_NONEL40,
NULL, 0, 0
} ;
/* baseMovBtnId[0] */
static MMIPACKET d011 = { &baseMovBtnId[0],
&baseMovDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d011d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 103, 299, 151, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncMovDir,
0x0000
} ;
/* baseMovMesId[0] */
static MMIPACKET d012 = { &baseMovMesId[0],
&baseMovDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d012d = { MS_CENTERL40 | MS_DSPONLYL40,
90, 106, 246, 125, 0,15, 8,
MS_NONEL40,
"î┤ëµâfâBâîâNâgâè",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseMovBtnId[2] */
static MMIPACKET d013 = { &baseMovBtnId[2],
&baseMovDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d013d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 236, 299, 284, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncMovOut,
0x0000
} ;
/* baseMovBtnId[1] */
static MMIPACKET d014 = { &baseMovBtnId[1],
&baseMovDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d014d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
37, 164, 299, 187, 7, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
selectFuncMovTif,
0x0000
} ;
/* baseMovMesId[1] */
static MMIPACKET d015 = { &baseMovMesId[1],
&baseMovDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d015d = { MS_CENTERL40 | MS_DSPONLYL40,
90, 166, 246, 185, 0,15, 8,
MS_NONEL40,
"î┤ ëµ é╠ ôo ÿ^",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseMovMesId[2] */
static MMIPACKET d016 = { &baseMovMesId[2],
&baseMovDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d016d = { MS_CENTERL40 | MS_DSPONLYL40,
46, 239, 294, 258, 0,15, 8,
MS_NONEL40,
"Åoù═ëµâtâ@âCâï (4ò╢ÄÜé╠╠º▓┘û╝é¬ùLî°)",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseMovMesId[3] */
static MMIPACKET d017 = { &baseMovMesId[3],
&baseMovDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d017d = { MS_CENTERL40 | MS_DSPONLYL40,
153, 152, 183, 163, 0,15, 8,
MS_NONEL40,
"ü½",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseMovMesId[4] */
static MMIPACKET d018 = { &baseMovMesId[4],
&baseMovDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d018d = { MS_CENTERL40 | MS_DSPONLYL40,
153, 188, 183, 199, 0,15, 8,
MS_NONEL40,
"ü½",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseMovInputDialogId[0] */
static MMIPACKET d019 = { &baseMovInputDialogId[0],
&baseMovDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d